package com.kailong.service.sys;

import com.kailong.dto.sys.MenuTreeDTO;
import com.kailong.entity.ResponsePageEntity;
import com.kailong.entity.sys.MenuConditionEntity;
import com.kailong.entity.sys.MenuEntity;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * created by kailong on 2025/8/8
 */
public interface MenuService {
    public List<MenuTreeDTO> getMenuTree();
    public int deleteByIds(List<Long> ids);
    public ResponsePageEntity<MenuEntity> searchByPage(MenuConditionEntity menuConditionEntity);
//    public void export(HttpServletResponse response, MenuConditionEntity menuConditionEntity) throws IOException;
    public int insert(MenuEntity menuEntity);
    public int update(MenuEntity menuEntity);
}
